package com.puff.service;

import com.puff.dto.CustomerDTO;
import com.puff.dto.CustomerPageQueryDTO;
import com.puff.result.PageResult;
import com.puff.vo.CustomerVO;

import java.util.List;

public interface CustomerService {

    /**
     * 客服列表分页查询
     * @param customerPageQueryDTO
     * @return
     */
    PageResult pageQuery(CustomerPageQueryDTO customerPageQueryDTO);

    /**
     * 新增客服
     * @param customerDTO
     */
    void saveCustomer(CustomerDTO customerDTO);

    /**
     * 批量删除客服信息
     * @param ids
     */
    void deleteBatch(List<Long> ids);

    /**
     * 根据id查询客服信息
     * @param id
     * @return
     */
    CustomerVO getCustomerById(Long id);

    /**
     * 修改客服信息
     * @param customerDTO
     */
    void updateCustomer(CustomerDTO customerDTO);

    /**
     * 启用禁用客服
     * @param id
     * @param status
     */
    void startOrStopCustomer(Long id, Integer status);
}
